package cn.bdqn.vo;

import cn.bdqn.pojo.User;
import cn.bdqn.pojo.Worklog;

import java.io.Serializable;

public class UserWorkLog implements Serializable {
    private User user;
    private Worklog worklog;

    public UserWorkLog() {
    }

    public UserWorkLog(User user, Worklog worklog) {
        this.user = user;
        this.worklog = worklog;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Worklog getWorklog() {
        return worklog;
    }

    public void setWorklog(Worklog worklog) {
        this.worklog = worklog;
    }

    @Override
    public String toString() {
        return "UserWorkLog{" +
                "user=" + user +
                ", worklog=" + worklog +
                '}';
    }
}
